home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / shu194st.zoo / shellutils-1.9.4 / man / printf.man < prev    next >
Encoding:
Text File  |  1994-03-16  |  1.5 KB  |  65 lines

  1.  
  2.  
  3.  
  4. PRINTF(1L)                           PRINTF(1L)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        printf -    format and print data
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        p✓pr✓ri✓in✓nt✓tf✓f format [argument...]
  12.        p✓pr✓ri✓in✓nt✓tf✓f {--help,--version}
  13.  
  14. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  15.        This  manual  page  documents  the  GNU version of p✓pr✓ri✓in✓nt✓tf✓f.
  16.        p✓pr✓ri✓in✓nt✓tf✓f prints the _✓f_✓o_✓r_✓m_✓a_✓t    string,    interpreting  `%'  direc-
  17.        tives  and  `\'    escapes    in the same way    as the C `printf'
  18.        function.  The _✓f_✓o_✓r_✓m_✓a_✓t argument is re-used as many times as
  19.        necessary to convert all    of the given arguments.
  20.  
  21.        p✓pr✓ri✓in✓nt✓tf✓f interprets `\0ooo' as a an octal number (`ooo' is    0
  22.        to 3 digits) specifying a character to print, and  `\xhhh'
  23.        as  a hexadecimal number    (`hhh' is 1 to 3 digits) specify-
  24.        ing a character to print.  It has  an  additional  escape,
  25.        `\c',  which  causes  p✓pr✓ri✓in✓nt✓tf✓f to produce no further output,
  26.        and an additional directive, `%b', which    prints its  argu-
  27.        ment  string with `\' escapes interpreted the way they are
  28.        in the _✓f_✓o_✓r_✓m_✓a_✓t string.
  29.  
  30.    O✓OP✓PT✓TI✓IO✓ON✓NS✓S
  31.        When GNU    p✓pr✓ri✓in✓nt✓tf✓f is invoked with exactly one argument,  the
  32.        following options are recognized:
  33.  
  34.        _✓-_✓-_✓h_✓e_✓l_✓p Print  a    usage message on standard output and exit
  35.           successfully.
  36.  
  37.        _✓-_✓-_✓v_✓e_✓r_✓s_✓i_✓o_✓n
  38.           Print version information    on standard  output  then
  39.           exit successfully.
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. FSF               GNU Shell Utilities            1
  65.